package com.teaching.teachingsupport.common.pojo.dataobject;

import lombok.Data;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.IdType;

@Data
@TableName("homework_student")
public class HomeworkStudent {
    @TableId(type = IdType.AUTO)
    private Long homeworkId;
    
    @TableField("teacher_homework_id")
    private Long teacherHomeworkId;
    
    @TableField("title")
    private String title;
    
    @TableField("publisher_name")
    private String publisherName;
    
    @TableField("course_name")
    private String courseName;
    
    @TableField("start_time")
    private LocalDateTime startTime;
    
    @TableField("deadline")
    private LocalDateTime deadline;
    
    @TableField("status")
    private Integer status;  // 0-未交,1-已交,2-逾期
    
    @TableField("student_id")
    private Long studentId;
    
    @TableField("semester_name")
    private String semesterName;
    
    @TableField("create_time")
    private LocalDateTime createTime;
    
    @TableField("update_time")
    private LocalDateTime updateTime;
} 